package org.ainlolcat.ainscience;

import org.ainlolcat.ainscience.entity.Entity;
import org.ainlolcat.ainscience.entity.UnsupportedEntityTypeException;

import java.io.IOException;

/**
 * @author ainlolcat
 * Date: 12/8/11
 */
public interface UpdateListener {
    public int UPDATE_ACTION_UNKNOWN = 0;
    public int CREATE_ENTITY_ACTION = 1;
    public int UPDATE_ENTITY_COLUMN = 10;
    public int UPDATE_ENTITY_STATISTICS = 20;

    public void onProjectUpdate();
    public void onEntityUpdate(Entity entity, int action);
}
